FROM 127.0.0.1:5000/jdk8
ADD ${type}/ /${type}
ENV JAVA_HOME /usr/java/jdk1.8.0_131
ENV JRE_HOME $JAVA_HOME/jre
ENV CLASSPATH .:$JAVA_HOME/lib:$JRE_HOME/lib
ENV PATH $PATH:$JAVA_HOME/bin
ENV LANG C.UTF-8
WORKDIR ${type}/
ENTRYPOINT ["sh","client.sh"]